Sahih
Muslim
صحيح مسلم
38
The Book of Manners and Etiquette
كتاب الآداب
Chapter 1: The Prohibition Of Taking The Kunyah Abul-Qasim, And The Names Which Are Recommended
باب النَّهْىِ عَنِ التَّكَنِّي، بِأَبِي الْقَاسِمِ وَبَيَانِ مَا يُسْتَحَبُّ مِنَ الأَسْمَاءِ .
Sahih Muslim 2133 f
Jabir b. 'Abdullah reported that a child was born to a person from the Ansar and he made up his mind to give him the name of Muhammad. He came to Allah's Messenger (ﷺ) and, asked him (about it), whereupon he said
The Ansar have done well to give the name (to your children) after my name, but do not give them the kunya after my kunya.حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَمُحَمَّدُ بْنُ بَشَّارٍ، قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، سَمِعْتُ قَتَادَةَ، عَنْ سَالِمٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، أَنَّ رَجُلاً، مِنَ الأَنْصَارِ وُلِدَ لَهُ غُلاَمٌ فَأَرَادَ أَنْ يُسَمِّيَهُ مُحَمَّدًا فَأَتَى النَّبِيَّ صلى الله عليه وسلم فَسَأَلَهُ فَقَالَ " أَحْسَنَتِ الأَنْصَارُ سَمُّوا بِاسْمِي وَلاَ تَكْتَنُوا بِكُنْيَتِي " .
Grade: Sahih